//
// Created by 束庆乐 on 2024/12/21.
//
#include "stdio.h"
int main030(){
    char charArr[5] = {'A','B','C','D','E'};
    for (int i = 0; i < 5; ++i) {
        printf("char[%d]=%c\n",i,charArr[i]);
    }
    char str1[6] = {'h','e','l','l','o','\0'};
    char str2[] = "hello";
    printf("str1=%s\n",str1);
    printf("str2=%s\n",str2);
    printf("=============分割线=============\n");
    char carr1[5] = {'t','e','s','t','1'};
    char carr2[6] = {'t','e','s','t','2','\0'};
    char carr3[6] = {'t','e','s','t','3','0'};
    char carr4[] = "test4";
    printf("test1=%s\n",carr1);
    printf("test2=%s\n",carr2);
    printf("test3=%s\n",carr3);
    printf("test4=%s\n",carr4);
    return 0;
}
